_G.CSE = CS.UnityEngine
_G.IS_EDITOR = CSE.Application.isEditor

_G.logInfo = print

function _G.bind(func, this, ...)
    if this then
        return function (...)
            func(this, ...)
        end
    else
        return function (...)
            func(...)
        end
    end
end


function _G.reload(path)
    package.loaded[path] = nil
    return require(path)
end